Browse Source

migrated delete_account.dart to null safety

ashilkn 2 years ago
parent
commit
fd586f4787
1 changed files with 2 additions and 6 deletions
  1. 2 6
      lib/models/delete_account.dart

+ 2 - 6
lib/models/delete_account.dart

@@ -1,13 +1,9 @@
-// @dart=2.9
-
-import 'package:flutter/foundation.dart';
-
 class DeleteChallengeResponse {
   final bool allowDelete;
   final String encryptedChallenge;
 
   DeleteChallengeResponse({
-    @required this.allowDelete,
-    this.encryptedChallenge,
+    required this.allowDelete,
+    required this.encryptedChallenge,
   });
 }