factory MetadataResponse.fromJson(Map<String, dynamic> json) { return MetadataResponse( client: json['client'] ?? "", error: json['error'] ?? false, ); }