Field.of constructor

Field.of(
  1. Field other
)

Implementation

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