toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var enabled = this.enabled;
  var uploadLimit = this.uploadLimit;

  final json = <String, Object?>{};
  json[r'enabled'] = enabled;
  if (uploadLimit != null) {
    json[r'uploadLimit'] = uploadLimit;
  }
  return json;
}