fieldsWithEntityReference method

Map<String, TypeInfo> fieldsWithEntityReference([
  1. O? o
])

Implementation

Map<String, TypeInfo> fieldsWithEntityReference([O? o]) =>
    _fieldsWithEntityReference ??= Map.unmodifiable(
      fieldsWithTypeEntityOrReference(o)
          .entries
          .where((e) => e.value.isEntityReferenceType)
          .toMapFromEntries(),
    );