onStorageBucketCreatedOrUpdated property

Stream<StorageBucketInfo> get onStorageBucketCreatedOrUpdated

Implementation

Stream<StorageBucketInfo> get onStorageBucketCreatedOrUpdated => _client
    .onEvent
    .where((event) => event.name == 'Storage.storageBucketCreatedOrUpdated')
    .map((event) => StorageBucketInfo.fromJson(
        event.parameters['bucketInfo'] as Map<String, dynamic>));