fromMap static method

Level fromMap(
  1. dynamic levelMap
)

Implementation

static Level fromMap(dynamic levelMap) {
  return Level(
    id: levelMap['id'] as double,
    name: levelMap['name'] as String,
    shortName: levelMap['shortName'] as String,
  );
}