StorageResourceConfig.fromJson constructor
StorageResourceConfig.fromJson(
- Map json_
Implementation
StorageResourceConfig.fromJson(core.Map json_)
: this(
existingBucket: json_.containsKey('existingBucket')
? ExistingBucketConfig.fromJson(
json_['existingBucket'] as core.Map<core.String, core.dynamic>,
)
: null,
existingFilestore: json_.containsKey('existingFilestore')
? ExistingFilestoreConfig.fromJson(
json_['existingFilestore']
as core.Map<core.String, core.dynamic>,
)
: null,
existingLustre: json_.containsKey('existingLustre')
? ExistingLustreConfig.fromJson(
json_['existingLustre'] as core.Map<core.String, core.dynamic>,
)
: null,
newBucket: json_.containsKey('newBucket')
? NewBucketConfig.fromJson(
json_['newBucket'] as core.Map<core.String, core.dynamic>,
)
: null,
newFilestore: json_.containsKey('newFilestore')
? NewFilestoreConfig.fromJson(
json_['newFilestore'] as core.Map<core.String, core.dynamic>,
)
: null,
newLustre: json_.containsKey('newLustre')
? NewLustreConfig.fromJson(
json_['newLustre'] as core.Map<core.String, core.dynamic>,
)
: null,
);