18 lines
358 B
Dart
18 lines
358 B
Dart
|
|
class DialCode {
|
||
|
|
const DialCode(this.value);
|
||
|
|
|
||
|
|
final String value;
|
||
|
|
|
||
|
|
@override
|
||
|
|
bool operator ==(Object other) =>
|
||
|
|
identical(this, other) ||
|
||
|
|
other is DialCode &&
|
||
|
|
runtimeType == other.runtimeType &&
|
||
|
|
value == other.value;
|
||
|
|
|
||
|
|
@override
|
||
|
|
int get hashCode => value.hashCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
const kDialCodes = <DialCode>[DialCode('+86')];
|