getMethodValue method
Implementation
String getMethodValue() {
if(this.methods == null || this.methods!.isEmpty) {
return "'${this.method ?? ''}'";
} else {
List<String> result = [];
for(String method in this.methods!) {
result.add("\'$method\'");
}
return "[${result.join(",")}]";
}
}