serialize method
Converts LoadRequestMethod to String format.
Implementation
String serialize() {
switch (this) {
case LoadRequestMethod.get:
return 'get';
case LoadRequestMethod.post:
return 'post';
}
}
Converts LoadRequestMethod to String format.
String serialize() {
switch (this) {
case LoadRequestMethod.get:
return 'get';
case LoadRequestMethod.post:
return 'post';
}
}