init method
Future<int?>
init(
- String appKey, {
- String? serverUrl,
- String? uploadApi,
- dynamic uploadInterval = 1000,
- List<
String> ? uuids, - dynamic debug = false,
- String? userId,
override
Implementation
@override
Future<int?> init(String appKey, {String? serverUrl, String? uploadApi, uploadInterval = 1000, List<String>? uuids, debug = false,String? userId }) async {
return methodChannel.invokeMethod<int>('init', {
'appKey': appKey,
'serverUrl': serverUrl,
'uploadApi': uploadApi,
'uploadInterval': uploadInterval,
'uuids': uuids,
'debug': debug,
'userId': userId
});
}