DataSourceErrorInfo.fromJson constructor

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

Implementation

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