TypeId.fromType constructor

TypeId.fromType(
  1. Type type
)

Creates a type id from type.

Implementation

factory TypeId.fromType(Type type) => TypeId(type.toString());