diff --git a/lib/terra_flutter_bridge.dart b/lib/terra_flutter_bridge.dart index c5e5a13..d2c5256 100644 --- a/lib/terra_flutter_bridge.dart +++ b/lib/terra_flutter_bridge.dart @@ -118,17 +118,20 @@ class TerraFlutter { }))); } + @Deprecated('This method is deprecated and will be removed in a future release.') static Future activateGlucoseSensor() async { final String? success = await _channel.invokeMethod('activateGlucoseSensor'); return success; } // only for apple + @Deprecated('This method is deprecated and will be removed in a future release.') static Future readGlucoseData() async { final String? success = await _channel.invokeMethod('readGlucoseData'); return success; } + @Deprecated('This method is deprecated and will be removed in a future release.') static Future getPlannedWorkouts( Connection connection) async { return ListDataMessage.fromJson(Map.from(await _channel.invokeMethod('getPlannedWorkouts', { @@ -136,6 +139,7 @@ class TerraFlutter { }))); } + @Deprecated('This method is deprecated and will be removed in a future release.') static Future deletePlannedWorkout( Connection connection, String id) async { return SuccessMessage.fromJson(Map.from(await _channel.invokeMethod('deletePlannedWorkout', { @@ -144,6 +148,7 @@ class TerraFlutter { }))); } + @Deprecated('This method is deprecated and will be removed in a future release.') static Future completePlannedWorkout( Connection connection, String id, DateTime? at ) async { return SuccessMessage.fromJson(Map.from(await _channel.invokeMethod('completePlannedWorkout', { @@ -153,6 +158,7 @@ class TerraFlutter { }))); } + @Deprecated('This method is deprecated and will be removed in a future release.') static Future postPlannedWorkout( Connection connection, TerraPlannedWorkout payload) async { return SuccessMessage.fromJson(Map.from(await _channel.invokeMethod('postPlannedWorkout', {