blob: 665efead5622f5e22dc6e9d61c2dae3c2c6560b5 [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 {
const Blob(this.bytes);
final Uint8List bytes;
@override
bool operator ==(dynamic other) =>
other is Blob &&
const DeepCollectionEquality().equals(other.bytes, bytes);
@override
int get hashCode => hashList(bytes);
}