createInstance method

  1. @override
Future<void> createInstance(
  1. String id,
  2. String domain,
  3. String appName,
  4. String language,
)
override

Creates a CMP instance with the provided configuration.

Implementation

@override
Future<void> createInstance(
    String id, String domain, String appName, String language) async {
  await methodChannel.invokeMethod('createInstance',
      {'id': id, 'domain': domain, 'appName': appName, 'language': language});
}