toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final groupBy = this.groupBy;
  return {
    if (groupBy != null) 'group_by': groupBy.map((v) => v.toJson()).toList(),
  };
}