toMap method

Future<Map<String, String>> toMap()

Resemble DeviceVendorInfoDictionary into unmodifiable Map model with same keys and values.

Implementation

Future<Map<String, String>> toMap() async =>
    Map.unmodifiable(Map.fromEntries(await entries.toList()));