TcOAuthError.fromJson constructor

TcOAuthError.fromJson(
  1. Map<String, dynamic> map
)

get the TruecallerError values from Json

Implementation

TcOAuthError.fromJson(Map<String, dynamic> map) {
  code = map['errorCode'];
  message = map['errorMessage'];
}