Permission.fromJson constructor
Permission.fromJson(
- Map json_
Implementation
Permission.fromJson(core.Map json_)
: this(
deleted: json_.containsKey('deleted')
? json_['deleted'] as core.bool
: null,
email:
json_.containsKey('email') ? json_['email'] as core.String : null,
family: json_.containsKey('family')
? Family.fromJson(
json_['family'] as core.Map<core.String, core.dynamic>)
: null,
group: json_.containsKey('group')
? Group.fromJson(
json_['group'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
role: json_.containsKey('role') ? json_['role'] as core.String : null,
user: json_.containsKey('user')
? User.fromJson(
json_['user'] as core.Map<core.String, core.dynamic>)
: null,
);