toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (rubricId.isNotDefault) 'rubricId': rubricId,
  'content': ?content?.toJson(),
  'type': ?type,
  'importance': ?importance?.toJson(),
};