toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (storedContentsExample case final storedContentsExample?)
    'storedContentsExample': storedContentsExample.toJson(),
  if (displayName.isNotDefault) 'displayName': displayName,
  if (exampleId.isNotDefault) 'exampleId': exampleId,
  if (createTime case final createTime?) 'createTime': createTime.toJson(),
};