ServiceException.fromJson constructor

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

Implementation

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