reset method

  1. @override
Future<void> reset(
  1. int viewId
)
override

Implementation

@override
Future<void> reset(int viewId) async {
  try {
    var methodChannel = MethodChannel('${channelPrefix}_$viewId');
    await methodChannel.invokeMethod<void>('reset');
  } on PlatformException catch (e) {
    debugPrint('${e.code}: ${e.message}');
  }
}