add method

  1. @override
void add(
  1. String field,
  2. Object? value
)
override

Add a field and its value.

Implementation

@override
void add(String field, Object? value) {
  if (value != null) {
    _result!
      ..write(' ' * _indentingBuiltValueToStringHelperIndent)
      ..write(field)
      ..write('=')
      ..write(value)
      ..write(',\n');
  }
}