toJson method

Map<String, dynamic> toJson()

Implementation

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