toValue method
Implementation
String toValue() {
  switch (this) {
    case InstanceFleetType.master:
      return 'MASTER';
    case InstanceFleetType.core:
      return 'CORE';
    case InstanceFleetType.task:
      return 'TASK';
  }
}String toValue() {
  switch (this) {
    case InstanceFleetType.master:
      return 'MASTER';
    case InstanceFleetType.core:
      return 'CORE';
    case InstanceFleetType.task:
      return 'TASK';
  }
}