message method

String message()

Implementation

String message() {
  if(isEmpty) {
    return 'Not message';
  }
  var error = this['error'];
  if(error != null) {
    return error['message'];
  }
  var data = this['data']['response']['message'];
  return data;
}