toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final source = this.source;
  final target = this.target;
  final targetParameter = this.targetParameter;
  return {
    'Source': source,
    'Target': target,
    if (targetParameter != null) 'TargetParameter': targetParameter,
  };
}