getField<T> method

T? getField<T>(
  1. String fieldName, [
  2. O? obj
])

Returns the field value for fieldName.

Implementation

T? getField<T>(String fieldName, [O? obj]) {
  var field = this.field<T>(fieldName, obj);
  return field?.get();
}