toJson method
Implementation
Map<String, dynamic> toJson() {
final sourceUri = this.sourceUri;
final sourceId = this.sourceId;
final sourceType = this.sourceType;
return {
'SourceUri': sourceUri,
if (sourceId != null) 'SourceId': sourceId,
if (sourceType != null) 'SourceType': sourceType,
};
}