errorMsgExtractor property

String Function(dynamic error) errorMsgExtractor
getter/setter pair

a function to extract error as string

Implementation

String Function(dynamic error) errorMsgExtractor =
    (error) => error.toString();