refactor: streamline emergency contact management by removing unused extensions and optimizing BLoC initialization
This commit is contained in:
@@ -56,7 +56,7 @@ class EmergencyContact extends Equatable {
|
||||
/// Converts a string value to a [RelationshipType].
|
||||
static RelationshipType stringToRelationshipType(String? value) {
|
||||
if (value != null) {
|
||||
final strVal = value.toUpperCase();
|
||||
final String strVal = value.toUpperCase();
|
||||
switch (strVal) {
|
||||
case 'FAMILY':
|
||||
return RelationshipType.family;
|
||||
|
||||
Reference in New Issue
Block a user