toJson method

Map<String, dynamic> toJson()

Implementation

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