to property Null safety

MotorFlutter to

Use the static to getter method allows access to MotorFlutter instance anywhere in the application.

import 'package:motor_flutter/motor_flutter.dart';

print(MotorFlutter.to.address.value); // prints 'snr123abc'

Implementation

static MotorFlutter get to => Get.find<MotorFlutter>();