getRequestById method
Implementation
@override
Future<VideoRequestDetails?> getRequestById({required String id}) async {
try {
final result = await methodChannel.invokeMethod<String>(
'getRequestById',
{
'id': id,
},
);
return result != null ? VideoRequestDetails.fromJsonString(result) : null;
} on PlatformException {
rethrow;
}
}