refToName function

String refToName(
  1. String ref
)

Implementation

String refToName(String ref) {
    return ref.replaceFirst(RegExp(r'^#\/definitions\/'), '').replaceAll(r'.', "");
}