ReadWriteTestEntry.fromJson constructor

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

Implementation

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