BucketFileSystemLocator.fromJson constructor
Implementation
factory BucketFileSystemLocator.fromJson(Map<String, dynamic> json) {
return BucketFileSystemLocator(
storageKey: storage.SerializedStorageKey.fromJson(
json['storageKey'] as String,
),
bucketName:
json.containsKey('bucketName') ? json['bucketName'] as String : null,
pathComponents:
(json['pathComponents'] as List).map((e) => e as String).toList(),
);
}