Generate.of constructor

Generate.of(
  1. Generate other
)

Implementation

factory Generate.of(
  Generate other,
) {
  try {
    return ofOrNull(other)!;
  } catch (e) {
    assert(false, 'Generate.of: $e');
    rethrow;
  }
}