Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/backendless_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ library backendless_sdk;

import 'dart:collection';
import 'dart:io';
import 'dart:typed_data';
import 'dart:ui' show hashValues;
import 'dart:convert';

import 'package:collection/collection.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/modules/data/geo/line_string.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LineString extends Geometry {
other is LineString && listEquals(points, other.points);

@override
int get hashCode => hashValues(points, srs);
int get hashCode => Object.hash(points, srs);

LineString({List<Point>? points, SpatialReferenceSystem? srs})
: super(srs: srs) {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/modules/data/geo/point.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Point extends Geometry {
(other.y - y).abs() < Point.precision;

@override
int get hashCode => hashValues(x, y, srs);
int get hashCode => Object.hash(x, y, srs);

Point({this.x = 0.0, this.y = 0.0, SpatialReferenceSystem? srs})
: super(srs: srs);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/modules/messaging/status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MessageStatus implements Comparable<MessageStatus> {
this.status == other.status;

@override
int get hashCode => hashValues(messageId, status);
int get hashCode => Object.hash(messageId, status);

@override
String toString() =>
Expand Down
1 change: 0 additions & 1 deletion lib/src/web/call_handlers/files.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
library backendless_files_web;

import 'dart:io';
import 'dart:typed_data';

import 'package:flutter/services.dart';
import 'package:js/js.dart';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 7.2.5
homepage: https://backendless.com

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.18.0 <3.0.0"
flutter: ">=1.10.0"

dependencies:
Expand Down