serialize method

String serialize()

Converts WebViewRequestMethod to String format.

Implementation

String serialize() {
  switch (this) {
    case WebViewRequestMethod.get:
      return 'get';
    case WebViewRequestMethod.post:
      return 'post';
  }
}