getStringValue method

  1. @Deprecated('Use getField(abc).toStringValue() instead of getStringValue(abc).')
String? getStringValue(
  1. String name
)

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

Implementation

@Deprecated(
  'Use getField(abc).toStringValue() instead of getStringValue(abc).',
)
String? getStringValue(String name) => getField(name)?.toStringValue();