error property

String? get error

Get current error message.

Returns the last error message that occurred during an operation, or null if no error has occurred.

Implementation

String? get error =>
    throw UnimplementedError('error has not been implemented.');