propetyConditional function

  1. @Deprecated('Use [Builder.property] with `isNullSafe` set to true.')
Builder propetyConditional(
  1. Builder value,
  2. String name
)

Returns the name property of this conditionally.

this?.name

Implementation

@Deprecated('Use [Builder.property] with `isNullSafe` set to true.')
Builder propetyConditional(
  Builder value,
  String name,
) {
  return Row([
    value,
    Static('?.$name'),
  ]);
}