of_the_map static method
Implementation
static of_the_map(Map<dynamic, CandidType> variant_map, {type_mode=false}) { // Map<String or int, CandidType>
Variant variant = Variant(type_mode: type_mode);
for (MapEntry mkv in variant_map.entries) { variant[mkv.key] = mkv.value; }
return variant;
}