AccountPermission.fromJson constructor

AccountPermission.fromJson(
  1. Map json_
)

Implementation

AccountPermission.fromJson(core.Map json_)
    : this(
        accountProfiles: json_.containsKey('accountProfiles')
            ? (json_['accountProfiles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        level:
            json_.containsKey('level') ? json_['level'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        permissionGroupId: json_.containsKey('permissionGroupId')
            ? json_['permissionGroupId'] as core.String
            : null,
      );