locationName property
String
get
locationName
Implementation
String get locationName {
switch (location) {
case BindingType.query:
return "query";
case BindingType.body:
return "body";
case BindingType.header:
return "header";
case BindingType.path:
return "path";
default:
throw StateError('invalid location');
}
}