MethodCall constructor
Implementation
MethodCall({required this.method, required Object args}) {
if (!(args is List || args is Map<String, dynamic>)) {
throw ArgsMethodCallException();
}
// ignore: prefer_initializing_formals
this.args = args;
}