property function

Builder property(
  1. Builder value,
  2. String name, {
  3. bool isNullSafe = false,
})

Returns the name property of this.

this.name

or

this?.name

when isNullSafe is true.

Implementation

Builder property(
  Builder value,
  String name, {
  bool isNullSafe = false,
}) {
  return Row([
    value,
    if (isNullSafe) const Static('?'),
    Static('.$name'),
  ]);
}