toJsonMap method
Takes a Map
and returns a JsonMap
Implementation
JsonMap toJsonMap() {
final self = this;
return self.map((key, value) => MapEntry(key.toString(), value is Map ? value.toJsonMap() : value));
}
Takes a Map
and returns a JsonMap
JsonMap toJsonMap() {
final self = this;
return self.map((key, value) => MapEntry(key.toString(), value is Map ? value.toJsonMap() : value));
}