TBusyModel constructor

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

Creates an instance of TBusyModel.

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 TBusyModel({
  required this.isBusy,
  required this.busyTitle,
  required this.busyMessage,
  required this.busyType,
  required dynamic payload,
}) : _payload = payload;