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