import { TranslatableObject } from "@/models/translate" ; import { AddressCheckResultType } from "@/services/address-checker/address-check-result-type" ; export class AddressCheckResult { public icon : string ; public constructor ( public type , public message ) { switch ( this . type ) { case AddressCheckResultType . Warning : this . icon = "warning" ; break ; default : this . icon = "alert" ; } } }