declareType function

Builder declareType(
  1. Builder value,
  2. Reference type
)

Returns this prefixed with the provided type.

type this

Implementation

Builder declareType(
  Builder value,
  Reference type,
) {
  return Row([
    type,
    const Static(' '),
    value,
  ]);
}