getNameFromJsonKey static method

String? getNameFromJsonKey(
  1. String theString
)

Implementation

static String? getNameFromJsonKey(String theString) {
  var declare = theString.split(')').last.trim().split(' ');
  if (declare.length > 1) return declare.last;
  return null;
}