exportVendorInfoToJson function

Future<Map<String, dynamic>> exportVendorInfoToJson()

Get BiosInfo (bios key in Map), BoardInfo (mother_board key in Map) and SystemInfo (system key in Map) into an unmodifiable Map.

Implementation

Future<Map<String, dynamic>> exportVendorInfoToJson() async =>
    Map.unmodifiable(<String, dynamic>{
      "bios": await getBiosInfo().then((value) => value.toJson()),
      "mother_board": await getBoardInfo().then((value) => value.toJson()),
      "system": await getSystemInfo().then((value) => value.toJson()),
    });