toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> _data = <String, dynamic>{};
  _data["mode"] = mode;
  _data["available"] = available;
  if (toMeasure != null) {
    _data["toMeasure"] = toMeasure;
  }
  _data["quota_smooth"] = quotaSmooth;
  _data["barrier_behavior"] = barrierBehavior;
  return _data;
}