serialize method

  1. @override
List serialize()
override

Serializes the exception, i.e. returns a list of items that can cross thread boundaries.

Implementation

@override
List serialize() => List.unmodifiable([
      _$typeMarker,
      message,
      _stackTrace?.toString(),
    ]);