factory KeyValuePair.fromJson(Map<String, dynamic> json) { return KeyValuePair( name: json['name'] as String?, value: json['value'] as String?, ); }