getBoolValue method

  1. @Deprecated('Use getField(abc).toBoolValue() instead of getBoolValue(abc).')
bool? getBoolValue(
  1. String name
)

Returns the value of the field with the given name as a bool or null if the field is not a bool.

Implementation

@Deprecated(
  'Use getField(abc).toBoolValue() instead of getBoolValue(abc).',
)
bool? getBoolValue(String name) => getField(name)?.toBoolValue();