toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final segmentNumber = this.segmentNumber;
  final totalSegments = this.totalSegments;
  return {
    'SegmentNumber': segmentNumber,
    'TotalSegments': totalSegments,
  };
}