setup method

  1. @override
Future<bool?> setup(
  1. String writeKey,
  2. String writeKeyForAdNetwork,
  3. Environment env
)
override

Implementation

@override
Future<bool?> setup(String writeKey, String writeKeyForAdNetwork, Environment env) async {
  final result = await methodChannel.invokeMethod<bool>('setup', {
    'writeKey': writeKey,
    'writeKeyForAdNetwork': writeKeyForAdNetwork,
    'env': env.name
  });
  return result;
}