getInt method

int? getInt(
  1. String name
)

get value of field as int

Implementation

int? getInt(String name) => formFields[name]?.first.toInt();