newInstance static method
Creates a new instance of MonetProvider
.
It's recommended to store the returned instance for ease of use.
Implementation
static Future<MonetProvider> newInstance() async {
return MonetProvider._(await _getPlatformColors());
}