FstabEntry.fromJson constructor

FstabEntry.fromJson(
  1. Map json_
)

Implementation

FstabEntry.fromJson(core.Map json_)
    : this(
        file: json_.containsKey('file') ? json_['file'] as core.String : null,
        freq: json_.containsKey('freq') ? json_['freq'] as core.int : null,
        mntops: json_.containsKey('mntops')
            ? json_['mntops'] as core.String
            : null,
        passno:
            json_.containsKey('passno') ? json_['passno'] as core.int : null,
        spec: json_.containsKey('spec') ? json_['spec'] as core.String : null,
        vfstype: json_.containsKey('vfstype')
            ? json_['vfstype'] as core.String
            : null,
      );