toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NetworkMode.bridge:
      return 'bridge';
    case NetworkMode.host:
      return 'host';
    case NetworkMode.awsvpc:
      return 'awsvpc';
    case NetworkMode.none:
      return 'none';
  }
}