1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-27 21:38:51 +00:00
comunicmobile/lib/utils/api_utils.dart

7 lines
117 B
Dart

/// API utilities
///
/// @author Pierre Hubert
/// Casting helper
T cast<T>(dynamic val) => val is T ? val : null;