toJson method

Map<String, String> toJson()

Implementation

Map<String, String> toJson() {
  return <String, String>{
    'appearance': appearance,
    'value': value,
  };
}