factory Error.fromJson(Map<String, dynamic> json) { return Error( code: json['code'] ?? 0, message: json['message'] ?? "", extra: json['@extra'], ); }