mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can change security settings
This commit is contained in:
22
lib/models/security_settings.dart
Normal file
22
lib/models/security_settings.dart
Normal file
@ -0,0 +1,22 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Security settings of the user
|
||||
///
|
||||
/// @author Pierre HUBERT
|
||||
|
||||
class SecuritySettings {
|
||||
final String securityQuestion1;
|
||||
final String securityAnswer1;
|
||||
final String securityQuestion2;
|
||||
final String securityAnswer2;
|
||||
|
||||
const SecuritySettings({
|
||||
@required this.securityQuestion1,
|
||||
@required this.securityAnswer1,
|
||||
@required this.securityQuestion2,
|
||||
@required this.securityAnswer2,
|
||||
}) : assert(securityQuestion1 != null),
|
||||
assert(securityAnswer1 != null),
|
||||
assert(securityQuestion2 != null),
|
||||
assert(securityAnswer2 != null);
|
||||
}
|
Reference in New Issue
Block a user