VolumeMount.fromJson constructor

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

Creates a VolumeMount from JSON data.

Implementation

VolumeMount.fromJson(Map<String, dynamic> json)
    : this(
        mountPath: json['mountPath'],
        mountPropagation: json['mountPropagation'],
        name: json['name'],
        readOnly: json['readOnly'],
        subPath: json['subPath'],
        subPathExpr: json['subPathExpr'],
      );