Matter.fromJson constructor
Matter.fromJson(
- Map json_
Implementation
Matter.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
matterId: json_.containsKey('matterId')
? json_['matterId'] as core.String
: null,
matterPermissions: json_.containsKey('matterPermissions')
? (json_['matterPermissions'] as core.List)
.map((value) => MatterPermission.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);