getErrorCode property

GetValueFromResponse<MapEntry<String, dynamic>?>? getErrorCode
getter/setter pair

Implementation

GetValueFromResponse<MapEntry<String, dynamic>?>? getErrorCode =
    (dynamic response, {String? url}) {
  if (response is Map) {
    if (response["errorCode"] == null) return null;
    return MapEntry("errorCode", response["errorCode"]);
  }
  return null;
};