getActiveProfile method
Returns the currently active profile if any.
Implementation
@override
Future<EsimProfile?> getActiveProfile() async {
final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>?>('getActiveProfile');
if (result == null) return null;
return EsimProfile.fromMap(result);
}