Continent.fromJson constructor

Continent.fromJson(
  1. Map<String, dynamic> json
)

Creates class instance from JSON Object that can be returned by Android or iOS agent, or can be a serialization result

Implementation

Continent.fromJson(Map<String, dynamic> json)
    : code = json['code'],
      name = json['name'];