toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "allowCancel": allowCancel,
    "allowResubmit": allowResubmit,
    "autoTrigger": autoTrigger,
    "canRetrigger": canRetrigger,
    "canRetry": canRetry,
    "canTrigger": canTrigger,
    "id": id,
    "state": state.toMap(),
    "type": type,
    "withHaptics": withHaptics,
    "debugLabel": debugLabel,
  };
}