getName method
The skeleton's name, which by default is the name of the skeleton data file when possible, or null when a name hasn't been set.
Implementation
String? getName() {
Pointer<Utf8> name = _bindings.spine_skeleton_data_get_name(_data).cast();
if (name.address == nullptr.address) return null;
return name.toDartString();
}