Permissions.fromJson constructor

Permissions.fromJson(
  1. Map json_
)

Implementation

Permissions.fromJson(core.Map json_)
    : this(
        issuerId: json_.containsKey('issuerId')
            ? json_['issuerId'] as core.String
            : null,
        permissions: json_.containsKey('permissions')
            ? (json_['permissions'] as core.List)
                .map((value) => Permission.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );