fromJson static method

EmptyDirMountSpec fromJson(
  1. Map<String, dynamic> json
)

Implementation

static EmptyDirMountSpec fromJson(Map<String, dynamic> json) {
  return EmptyDirMountSpec(path: json['path'] as String, readOnly: (json['read_only'] as bool?) ?? false);
}