addEarthToScene method
Implementation
Future<void> addEarthToScene({
double? initialScale,
int? backgroundColor,
double? x,
double? y,
double? z,
}) async {
await _channel.invokeMethod("add_earth_to_scene", {
"initialScale": initialScale,
if (backgroundColor != null) "backgroundColor": backgroundColor.toInt(),
"x": x ?? 0,
"y": y ?? 0,
"z": z ?? 0,
});
}