toJson method
Implementation
@override
Object toJson() => {
if (type.isNotDefault) 'type': type.toJson(),
if (content != null) 'content': content,
if (gcsContentUri != null) 'gcsContentUri': gcsContentUri,
if (languageCode.isNotDefault) 'languageCode': languageCode,
};