VasatError.fromMap constructor

VasatError.fromMap(
  1. Map<String, dynamic> error
)

Implementation

VasatError.fromMap(Map<String, dynamic> error) : error = error["error"] ?? "", description = error["error_description"] ?? "", status = error["status"] ?? 500;