$MethodSelector.fromJson constructor

$MethodSelector.fromJson(
  1. Map json_
)

Implementation

$MethodSelector.fromJson(core.Map json_)
    : this(
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        permission: json_.containsKey('permission')
            ? json_['permission'] as core.String
            : null,
      );