factory PaymentezError.fromJson(Map<String, dynamic> json) => PaymentezError( error: Error.fromJson(json.getMap('error')), );