encode method

String encode()

Implementation

String encode() {
  final parametersString =
      values.entries.map((entry) => "${entry.key}:${entry.value}").join(",");
  if (parametersString.isEmpty) {
    return "$plugin.$name()";
  } else {
    return "$plugin.$name($parametersString)";
  }
}