reference property

  1. @override
String get reference
override

Implementation

@override
String get reference {
  dynamic hostedMap;
  try {
    hostedMap = jsonDecode(hosted);
    String h = '';
    hostedMap.forEach((key, value) {
      h += '$key: $value, ';
    });
    return '$name, $h version: $version';
  } catch (_) {}

  return '$name, hosted: $hosted, version: $version';
}