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