Grid.fromMap constructor
Serialization
Implementation
factory Grid.fromMap(Map<String, dynamic> map) {
return Grid._(
map["matrix"] == null
? null
: List<List<Cell>>.from(map["matrix"]
.map((x) => List<Cell>.from(x.map((x) => Cell.fromMap(x))))),
);
}