ReadWriteTestEntry.fromJson constructor

ReadWriteTestEntry.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory ReadWriteTestEntry.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return ReadWriteTestEntry(
    id: serializationManager.deserialize<int?>(jsonSerialization['id']),
    number:
        serializationManager.deserialize<int>(jsonSerialization['number']),
  );
}