Files
sdk/runtime/lib/bool_patch.dart
T

17 lines
380 B
Dart

// Copyright (c) 2012, the Dart 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.
// Dart core library.
patch class bool {
int get hashCode {
return this ? 1231 : 1237;
}
String toString() {
return this ? "true" : "false";
}
}