fromMap static method

PT fromMap(
  1. Map map
)

Implementation

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