VolumeMount.fromJson constructor

VolumeMount.fromJson(
  1. Map json_
)

Implementation

VolumeMount.fromJson(core.Map json_)
    : this(
        mountPath: json_.containsKey('mountPath')
            ? json_['mountPath'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        readOnly: json_.containsKey('readOnly')
            ? json_['readOnly'] as core.bool
            : null,
        subPath: json_.containsKey('subPath')
            ? json_['subPath'] as core.String
            : null,
      );