toArray method

Map<String, Object?> toArray({
  1. ValueCodecRegistry? registry,
  2. bool includeHidden = false,
})
inherited

Converts the model into a metadata-aware map, honoring hidden/visible lists.

Implementation

Map<String, Object?> toArray({
  ValueCodecRegistry? registry,
  bool includeHidden = false,
}) => _asAttributes.serializableAttributes(
  includeHidden: includeHidden,
  registry: _effectiveCodecRegistry(registry),
);