initialize method
The function initializes a method channel and invokes a method with arguments, returning a future
string.
@param args
- The "args" parameter is an optional argument that can be passed to the
"initialize" method. It can be of any type, depending on the requirements of the method.
@returns The method is returning a Future<String?>
.
Implementation
@override
Future<String?> initialize([args]) async {
final returnVal =
await methodChannel.invokeMethod<String>('initialize', args);
return returnVal;
}