message property

String message

An accompanying message which provides contextual information when the package has expired.

The message could indicate the reasons for expiration or where an up-to-date version of the data can be obtained from. The author of the package may have configured the message to contain raw text, hyperlinks or HTML.

The message can be empty.

Implementation

String get message {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Expiration_getMessage(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}