value property
String
get
value
Implementation
String get value {
switch (this) {
case StatusConstant.SUCCESS:
// TODO: Handle this case.
return "SUCCESS";
case StatusConstant.MODAL_CLOSED:
// TODO: Handle this case.
return "MODAL_CLOSED";
case StatusConstant.PAYMENT_FAILED:
// TODO: Handle this case.
return "PAYMENT_FAILED";
}
}