to property Null safety

MotorFlutter to

Description

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

Example

import 'package:motor_flutter/motor_flutter.dart';

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

Implementation

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