toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final group = this.group;
  final dimensions = this.dimensions;
  final limit = this.limit;
  return {
    'Group': group,
    if (dimensions != null) 'Dimensions': dimensions,
    if (limit != null) 'Limit': limit,
  };
}