Subdivision.fromJsObject constructor

Subdivision.fromJsObject(
  1. dynamic jsObject
)

Creates class instance from JavaScript object

Implementation

Subdivision.fromJsObject(dynamic jsObject)
    : isoCode = jsObject.isoCode,
      name = jsObject.name;