from method

F from({
  1. F? field,
  2. R? reference,
  3. O? sharedObject,
  4. String? id,
})

Implementation

F from({F? field, R? reference, O? sharedObject, String? id}) {
  return tryFrom(
          field: field,
          reference: reference,
          sharedObject: sharedObject,
          id: id) ??
      (throw MultiNullArguments(
          ['field', 'reference', 'sharedObject', 'id']));
}