toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'id': id,
    'variable_id': variableID,
    'type': type,
    'group': group,
    'table': table,
    'select': select,
    'limit': limit,
    'offset': offset,
    'order_by': orderBy,
    'is_count': isCount,
    'filters': filters.map((e) => e.toJson()).toList(),
  };
}