getValue<T> function

T? getValue<T>(
  1. String path
)

It's just a shorthand for getFieldValue path is a dot separated path where the first part is form name and the second is field name e.g. signup.lastName

Implementation

T? getValue<T>(String path) {
  final split = path.split('.');
  return getFieldValue(
    formName: split[0],
    fieldName: split[1],
  );
}