invokeMapMethod<K, V> method

  1. @protected
Future<Map<K, V>> invokeMapMethod<K, V>(
  1. String method, {
  2. dynamic arguments,
})

Implementation

@protected
Future<Map<K, V>> invokeMapMethod<K, V>(String method, {dynamic arguments}) async {
  final value = await invokeOptionalMapMethod<K, V>(
    method,
    arguments: arguments,
  );
  if (value != null) {
    return value;
  } else {
    throw ArgumentError.notNull("$method result");
  }
}