fromAPIMap static method

SubLocation fromAPIMap(
  1. dynamic sl
)

Implementation

static SubLocation fromAPIMap(var sl) {
  return SubLocation()
    ..id = sl["id"]
    ..name = sl["title"];
}