getErrorMessage method

String getErrorMessage()

Implementation

String getErrorMessage() => errMsg ?? message ?? '';