toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  final transformed = _$DynamicContentToJson(this);
  final content = transformed.remove('content');
  return Map.fromEntries(transformed.entries.followedBy(content.entries));
}