Mount.fromJson constructor

Mount.fromJson(
  1. Map _json
)

Implementation

Mount.fromJson(core.Map _json)
    : this(
        disk: _json.containsKey('disk') ? _json['disk'] as core.String : null,
        path: _json.containsKey('path') ? _json['path'] as core.String : null,
        readOnly: _json.containsKey('readOnly')
            ? _json['readOnly'] as core.bool
            : null,
      );