toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final breakoutCode = this.breakoutCode;
  final distributorId = this.distributorId;
  return {
    if (breakoutCode != null) 'breakoutCode': breakoutCode,
    if (distributorId != null) 'distributorId': distributorId,
  };
}