initialize method

  1. @override
Future<bool> initialize({
  1. required String username,
  2. required String password,
  3. String? subscription,
})
override

Implementation

@override
Future<bool> initialize({
  required String username,
  required String password,
  String? subscription,
}) async {
  final res = await methodChannel.invokeMethod('INITIALIZE', {
    'username': username,
    'password': password,
    'subscription': subscription ?? '',
  });
  return res;
}