toMap method
Converts this ListRootsResult into a JSON-compatible map.
Implementation
@override
Map<String, Object?> toMap() {
return {'roots': roots.map((e) => e.toMap()).toList()};
}
Converts this ListRootsResult into a JSON-compatible map.
@override
Map<String, Object?> toMap() {
return {'roots': roots.map((e) => e.toMap()).toList()};
}