Role.fromJson constructor
Implementation
Role.fromJson(Map<String, dynamic> json)
: tenantId = TenantId.fromJson(json['tenantId']),
customerId = json['customerId'] != null
? CustomerId.fromJson(json['customerId'])
: null,
name = json['name'],
type = roleTypeFromString(json['type']),
permissions = RolePermissions.fromJson(json),
externalId = json['externalId'] != null
? RoleId.fromJson(json['externalId'])
: null,
super.fromJson(json);