getAuthInfo method Null safety

Future<String> getAuthInfo(
  1. String appSign
)

Get SDK authentication information. You can apply for an authentication file from the ZEGO server with the authentication information and appID.

String appSign The application signature corresponding to each AppID. This parameter is a string containing 64 characters, with character values ranging from '0' to '9' and 'a' to 'z'.

Precautions: Use before initializing ZegoEffects.

Applicable version: >= 2.1.0

Implementation

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