value property

String? value

Implementation

String? get value {
  switch (this) {
    case ContactableType.email:
      return "email";
    case ContactableType.phone:
      return "phone";
    case ContactableType.sms:
      return "sms";
  }
}