toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

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