WarningModel constructor

const WarningModel({
  1. required String source,
  2. required String message,
})

Creates a new instance of WarningModel.

  • source: The source of the warning, such as the system module or process.
  • message: The message detailing the warning.

Implementation

const WarningModel({required this.source, required this.message});