message property

String get message

Implementation

String get message => type == FailureType.network
    ? AuthConstantsString.networkError
    : type == FailureType.authMultiFactor
        ? AuthConstantsString.userExists
        : type == FailureType.invalidPhone
            ? AuthConstantsString.invalidPhone :
type == FailureType.expireToken
    ? AuthConstantsString.expireToken
            : AuthConstantsString.defaultError;