Continent.fromJsObject constructor

Continent.fromJsObject(
  1. dynamic jsObject
)

Creates class instance from JavaScript object

Implementation

Continent.fromJsObject(dynamic jsObject)
    : code = jsObject.code,
      name = jsObject.name;