fromMap static method

SubmitControllerDto fromMap(
  1. Map<String, dynamic> map
)

Implementation

static SubmitControllerDto fromMap(Map<String, dynamic> map) {
  return SubmitControllerDto(
    allowCancel: map["allowCancel"],
    allowResubmit: map["allowResubmit"],
    autoTrigger: map["autoTrigger"],
    canRetrigger: map["canRetrigger"],
    canRetry: map["canRetry"],
    canTrigger: map["canTrigger"],
    id: map["id"],
    state: SubmitControllerStateDto.fromMap(map["state"]),
    type: map["type"],
    withHaptics: map["withHaptics"],
    debugLabel: map["debugLabel"],
  );
}