DelayAction class final

Inheritance
  • Object
  • ActionConfiguration
  • DelayAction
Annotations
  • @JsonSerializable.new()

Constructors

DelayAction({int milliseconds = 0, String message = '', bool? isAwaited})
DelayAction.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAwaited → bool?
Whether to await this configuration's execution.
finalinherited
message → String
final
milliseconds → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaType → String
The schema type of this configuration.
finalinherited
title → String?
Optional title for this configuration.
finalinherited

Methods

execute(BuildContext context, {Map<String, dynamic>? arguments}) → Future<FutureOr<void>>
Executes this configuration.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

typeDescriptor → TypeDescriptor<DelayAction>
final

Constants

schemaName → const String