added null safety for llc

This commit is contained in:
Deven Joshi
2021-04-08 15:03:16 +05:30
parent 3a5308a9c0
commit c80fc0a6b4
41 changed files with 1222 additions and 1202 deletions
@@ -15,10 +15,10 @@ class Device {
factory Device.fromJson(Map<String, dynamic> json) => _$DeviceFromJson(json);
/// The id of the device
final String id;
final String? id;
/// The notification push provider
final String pushProvider;
final String? pushProvider;
/// Serialize to json
Map<String, dynamic> toJson() => _$DeviceToJson(this);