type property Null safety

Reference type

Returns as a TypeReference, which allows adding generic type parameters.

Implementation

Reference get type => TypeReference((b) => b
  ..url = url
  ..symbol = symbol);