getButtonType method
Implementation
getButtonType(ButtonType buttonType) {
switch (buttonType) {
case ButtonType.Primary:
return true;
break;
case ButtonType.Secondary:
return true;
break;
case ButtonType.Disable:
return false;
break;
default:
}
}