RequestError.fromJson constructor

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

Implementation

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