fromMap static method

PjRollCase fromMap(
  1. Map map
)

Implementation

static PjRollCase fromMap(Map<dynamic, dynamic> map) {
  int id = map["id"];
  String name = map["name"];
  return PjRollCase.valueFromID(id);
}