get<T> method

T get<T>(
  1. {Object key}
)

Creates and returns instance of specified type T filled with random data recursively. Uses key to select configuration.

Implementation

T get<T>({Object key}) => getUntyped(T, key: key) as T;