FlutterErrorDetails constructor
Creates a FlutterErrorDetails object with the given arguments setting the object's properties.
The framework calls this constructor when catching an exception that will subsequently be reported using FlutterError.onError.
The exception
must not be null; other arguments can be left to
their default values. (throw null
results in a
NullThrownError exception.)
Implementation
const FlutterErrorDetails({
this.exception,
this.stack,
this.library = 'Flutter framework',
this.context,
this.stackFilter,
this.informationCollector,
this.silent = false
});