fromMap static method
Creates a new instance of this object from a JSON like map.
The map parameter is a JsonMap that contains the properties
of this object.
Implementation
static Capital fromMap(JsonMap map) => Capital(
map["deFacto"].toString(),
deJure: map["deJure"]?.toString(),
third: map["third"]?.toString(),
);