toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (mentions != null) 'mentions': mentions!,
if (metadata != null) 'metadata': metadata!,
if (name != null) 'name': name!,
if (sentiment != null) 'sentiment': sentiment!,
if (type != null) 'type': type!,
};