BusyModel constructor

const BusyModel({
  1. required bool isBusy,
  2. required String? busyTitle,
  3. required String? busyMessage,
  4. required BusyType busyType,
  5. required dynamic payload,
})

Creates an instance of BusyModel.

isBusy Indicates if the application or component is busy. busyTitle Optional title to display while busy. busyMessage Optional message to display while busy. busyType Specifies the type of busy indicator to display. payload Optional payload to be used with the busy model.

Implementation

const BusyModel({
  required this.isBusy,
  required this.busyTitle,
  required this.busyMessage,
  required this.busyType,
  required dynamic payload,
}) : _payload = payload;