move on with the migration

This commit is contained in:
Salvatore Giordano
2021-04-19 12:40:00 +02:00
parent 8a92392914
commit af135ecb9c
37 changed files with 653 additions and 535 deletions
@@ -7,8 +7,8 @@ part 'device.g.dart';
class Device {
/// Constructor used for json serialization
Device({
this.id = '',
this.pushProvider,
required this.id,
required this.pushProvider,
});
/// Create a new instance from a json
@@ -18,7 +18,7 @@ class Device {
final String id;
/// The notification push provider
final String? pushProvider;
final String pushProvider;
/// Serialize to json
Map<String, dynamic> toJson() => _$DeviceToJson(this);