Mountpoint.fromLsblk constructor

Mountpoint.fromLsblk(
  1. Map<String, dynamic> mountpoint
)

Implementation

factory Mountpoint.fromLsblk(Map<String, dynamic> mountpoint) => Mountpoint(
      path: mountpoint["mountpoint"],
      label: mountpoint["label"] ?? mountpoint["partlabel"],
    );