factory Error.fromMap(Map<String, dynamic> json) => Error( type: json["type"] == null ? null : json["type"], help: json["help"] == null ? null : json["help"], );