getIntValue method

  1. @Deprecated('Use getField(abc).toIntValue() instead of getIntValue(abc).')
int? getIntValue(
  1. String name
)

Returns the value of the field with the given name as an int or null if the field is not an int.

Implementation

@Deprecated(
  'Use getField(abc).toIntValue() instead of getIntValue(abc).',
)
int? getIntValue(String name) => getField(name)?.toIntValue();