UserProfileProvider constructor
UserProfileProvider()
Implementation
factory UserProfileProvider() {
if (_instance == null) {
const MethodChannel methodChannel =
MethodChannel("plugins.microprogramers.org/userProfile", JSONMethodCodec());
_instance = UserProfileProvider._private(methodChannel);
}
return _instance!;
}