blob: 186345c7a9e860124b09de6a1f77415e379d7004 [file] [log] [blame]
// Copyright 2018, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
part of cloud_firestore;
class Blob {
final Uint8List bytes;
const Blob(this.bytes);
@override
bool operator ==(dynamic other) =>
other is Blob &&
const DeepCollectionEquality().equals(other.bytes, bytes);
@override
int get hashCode => hashList(bytes);
}