message property

String get message

Implementation

String get message {
  if (type == ContentType.payload) {
    throw Exception(
      "Failure operation. Unsupported message in type Payload.",
    );
  }

  return _content ?? "";
}