toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MeshStatusCode.active:
      return 'ACTIVE';
    case MeshStatusCode.inactive:
      return 'INACTIVE';
    case MeshStatusCode.deleted:
      return 'DELETED';
  }
}