config method

  1. @override
Future<void> config({
  1. required bool isProduction,
  2. required String token,
})
override

Implementation

@override
Future<void> config(
    {required bool isProduction, required String token}) async {
  try {
    await methodChannel.invokeMethod('config', {
      'isProduction': isProduction,
      'token': token,
    });
  } on PlatformException catch (exception) {
    print(exception);
  }
}