errors property Null safety

Future<Set<HyperTrackError>> errors

Returns a list of errors that blocks the SDK from tracking.

Implementation

static Future<Set<HyperTrackError>> get errors async {
  return _invokeSdkMethod<List<Object?>>(SdkMethod.getErrors).then((value) {
    return deserializeErrors(value.cast<Map<Object?, Object?>>());
  });
}