toJson method

Map<String, dynamic> toJson()

Implementation

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