getNamepropertyFromTemp function

dynamic getNamepropertyFromTemp(
  1. String string
)

Implementation

getNamepropertyFromTemp(String string) {
  if (string != null) {
    return string.split('.').last.split('}').first.trim();
  }
}