reactToNativeModule method

Future<bool> reactToNativeModule(
  1. FCPChannelTypes type,
  2. dynamic data
)

Implementation

Future<bool> reactToNativeModule(FCPChannelTypes type, dynamic data) async {
  final value = await _methodChannel.invokeMethod(
      CPEnumUtils.stringFromEnum(type.toString()), data);
  return value;
}