toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final owner = this.owner;
  final sourceIdentifier = this.sourceIdentifier;
  final sourceDetails = this.sourceDetails;
  return {
    'Owner': owner.toValue(),
    'SourceIdentifier': sourceIdentifier,
    if (sourceDetails != null) 'SourceDetails': sourceDetails,
  };
}