factory KeyValue.fromJson(Map<String, dynamic> json) { return KeyValue( key: json['Key'] as String?, value: json['Value'] as String?, ); }