getData function
dynamic
getData(
- dynamic data
Implementation
getData(data) {
if (data == null) {
return null;
}
if (data is NativeArray) {
return data.data;
} else {
return data;
}
}