toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (description != null) 'description': description!,
if (matterId != null) 'matterId': matterId!,
if (matterPermissions != null) 'matterPermissions': matterPermissions!,
if (name != null) 'name': name!,
if (state != null) 'state': state!,
};