LocalVolumeResourceData.fromJson constructor

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

Implementation

factory LocalVolumeResourceData.fromJson(Map<String, dynamic> json) {
  return LocalVolumeResourceData(
    destinationPath: json['DestinationPath'] as String?,
    groupOwnerSetting: json['GroupOwnerSetting'] != null
        ? GroupOwnerSetting.fromJson(
            json['GroupOwnerSetting'] as Map<String, dynamic>)
        : null,
    sourcePath: json['SourcePath'] as String?,
  );
}