create method Null safety

Future<int> create(
  1. int appID,
  2. String appSign
)

Create Zego Effects SDK based on authentication. The authentication is handled internally, and users only need to pass the appID and appSign.

int appID The applied appID. String appSign The applied appSign.

Returns the creation status. A status of 0 indicates success, and any other value indicates failure.

Implementation

Future<int> create(int appID, String appSign) async {
  return await _channel.invokeMethod('create', {'appID': appID, 'appSign': appSign});
}