diff --git a/lib/utils/websocket/alarm_models/fall_model.dart b/lib/utils/websocket/alarm_models/fall_model.dart deleted file mode 100644 index 87b2cb5c..00000000 --- a/lib/utils/websocket/alarm_models/fall_model.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:json_annotation/json_annotation.dart'; - -part 'fall_model.g.dart'; - -@JsonSerializable() -class FallModel { - final String? userName; - final String? tel; - final String? address; - final num? lon; - final num? lat; - final int? type; - factory FallModel.fromJson(Map json) => - _$FallModelFromJson(json); - - const FallModel({ - this.userName, - this.tel, - this.address, - this.lon, - this.lat, - this.type, - }); -} diff --git a/lib/utils/websocket/alarm_models/fall_model.g.dart b/lib/utils/websocket/alarm_models/fall_model.g.dart deleted file mode 100644 index 7af23b29..00000000 --- a/lib/utils/websocket/alarm_models/fall_model.g.dart +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'fall_model.dart'; - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -FallModel _$FallModelFromJson(Map json) => FallModel( - userName: json['userName'] as String?, - tel: json['tel'] as String?, - address: json['address'] as String?, - lon: json['lon'] as num?, - lat: json['lat'] as num?, - type: json['type'] as int?, - ); diff --git a/lib/utils/websocket/fire_dialog.dart b/lib/utils/websocket/fire_dialog.dart index b905ebdd..0131f265 100644 --- a/lib/utils/websocket/fire_dialog.dart +++ b/lib/utils/websocket/fire_dialog.dart @@ -10,7 +10,6 @@ import 'package:aku_new_community/gen/assets.gen.dart'; import 'package:aku_new_community/pages/tab_navigator.dart'; import 'package:aku_new_community/utils/developer_util.dart'; import 'package:aku_new_community/utils/headers.dart'; -import 'package:aku_new_community/utils/websocket/alarm_models/fall_model.dart'; import 'package:aku_new_community/utils/websocket/alarm_models/fire_model.dart'; import 'package:power_logger/power_logger.dart';