DashboardError.fromJson constructor

DashboardError.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DashboardError.fromJson(Map<String, dynamic> json) {
  return DashboardError(
    message: json['Message'] as String?,
    type: (json['Type'] as String?)?.toDashboardErrorType(),
  );
}