FlutterErrorDetails constructor
- required Object exception,
- StackTrace? stack,
- String? library = 'Flutter framework',
- DiagnosticsNode? context,
- IterableFilter<
String> ? stackFilter, - InformationCollector? informationCollector,
- bool silent = false,
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.
Implementation
const FlutterErrorDetails({
required this.exception,
this.stack,
this.library = 'Flutter framework',
this.context,
this.stackFilter,
this.informationCollector,
this.silent = false,
});