Source
String get constantValue { if (_constantValue != null) return _constantValue; if (_field.computeNode() == null) return null; var v = _field.computeNode().toSource(); if (v == null) return null; var string = v.substring(v.indexOf('=') + 1, v.length).trim(); _constantValue = string.replaceAll(modelType.name, modelType.linkedName); return _constantValue; }