toFormat method

Format toFormat()

Implementation

Format toFormat() {
  switch (this) {
    case 'URLEncoded':
      return Format.uRLEncoded;
  }
  throw Exception('$this is not known in enum Format');
}