getBool method

bool? getBool(
  1. String name
)

get value of field as bool

Implementation

bool? getBool(String name) => formFields[name]?.first.toBool();