asMap method

Map<String, Object?> asMap({
  1. ValueCodecRegistry? registry,
})
inherited

Alias for toRecord for ergonomics when bridging to JSON/Maps.

Implementation

Map<String, Object?> asMap({ValueCodecRegistry? registry}) =>
    toRecord(registry: registry);