Explanation.fromJson constructor

Explanation.fromJson(
  1. Map json_
)

Implementation

Explanation.fromJson(core.Map json_)
    : this(
        matchedPermissions: json_.containsKey('matchedPermissions')
            ? (json_['matchedPermissions']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  Permissions.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );