toJson method
- @override
override
Implementation
@override
Map<String, Object?> toJson() => {
'attributesType': attributesType,
'activityId': activityId,
if (content != null) 'content': content!.toJson(),
'dismissalPolicy': dismissalPolicy.toJson(),
};