Skip to content

updateSkanConversionValue method has error #156

Closed
@NelfDesign

Description

@NelfDesign

Hi,
this method in your package has an error
static Future<String?> updateSkanConversionValue(int conversionValue, String coarseValue, bool lockWindow) async {
final String error = await _channel.invokeMethod('updateSkanConversionValue', {
'conversionValue': conversionValue,
'coarseValue': coarseValue,
'lockWindow': lockWindow
});
return error;
}

If the error is null the application stop.
Please correct the method like this

static Future<String?> updateSkanConversionValue(int conversionValue, String coarseValue, bool lockWindow) async {
final String? error = await _channel.invokeMethod('updateSkanConversionValue', {
'conversionValue': conversionValue,
'coarseValue': coarseValue,
'lockWindow': lockWindow
});
return error;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions