getErrorMessage method

String? getErrorMessage()

Implementation

String? getErrorMessage() {
  if (hasError()) {
    return _result['error']['message'];
  }
  return null;
}