StorageBucket.fromJson constructor

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

Implementation

factory StorageBucket.fromJson(Map<String, dynamic> json) {
  return StorageBucket(
    storageKey: SerializedStorageKey.fromJson(json['storageKey'] as String),
    name: json.containsKey('name') ? json['name'] as String : null,
  );
}