flexBufferToMap function

Map<String, dynamic>? flexBufferToMap(
  1. BufferContext buffer,
  2. int offset,
  3. int field, {
  4. bool skipNull = false,
})

Deserializes FlexBuffer bytes to a Map<String, dynamic>.

Implementation

@pragma('vm:prefer-inline')
Map<String, dynamic>? flexBufferToMap(
        BufferContext buffer, int offset, int field, {bool skipNull = false}) =>
    fromFlexBuffer(buffer, offset, field, skipNullCollectionValues: skipNull)
        as Map<String, dynamic>?;