Permission.fromJson constructor

Permission.fromJson(
  1. Map json_
)

Implementation

Permission.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        permissionId: json_.containsKey('permissionId')
            ? json_['permissionId'] as core.String
            : null,
      );