locationName property Null safety

String 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";
  }
}