toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.enabled != null) {
    json[r'enabled'] = this.enabled;
  } else {
    json[r'enabled'] = null;
  }
  return json;
}