toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final key = this.key;
  final stringValue = this.stringValue;
  return {
    'key': key,
    'stringValue': stringValue,
  };
}