ErrorInfo.fromJson constructor

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

Implementation

factory ErrorInfo.fromJson(Map<String, dynamic> json) {
  return ErrorInfo(
    code: json['code'] as String?,
    message: json['message'] as String?,
  );
}