JsonPreamble.build constructor

JsonPreamble.build({
  1. required int serializationVersion,
  2. required String locale,
  3. required String hash,
  4. required bool hasIds,
})

Implementation

JsonPreamble.build({
  required int serializationVersion,
  required String locale,
  required String hash,
  required bool hasIds,
}) : _data = [
        serializationVersion,
        locale,
        hash,
        hasIds ? 1 : 0,
      ];