onResult method
Implementation
@override
void onResult(Future<dynamic> Function(MethodCall call) handler) {
methodChannel.setMethodCallHandler(handler);
}
@override
void onResult(Future<dynamic> Function(MethodCall call) handler) {
methodChannel.setMethodCallHandler(handler);
}