AnnotationsAPI constructor
AnnotationsAPI({
- Future<
List< getAnnotationCategoriesAsync()?,AnnotationCategory> > - Future<
AnnotationCategory?> getAnnotationCategoryByIdAsync()?, - Future<
AnnotationCategory> addAnnotationCategoryAsync(- dynamic
Implementation
factory AnnotationsAPI({
_i2.Future<_i2.List<_i3.AnnotationCategory>> Function()?
getAnnotationCategoriesAsync,
_i2.Future<_i3.AnnotationCategory?> Function(_i2.String)?
getAnnotationCategoryByIdAsync,
_i2.Future<_i3.AnnotationCategory> Function(_i2.dynamic)?
addAnnotationCategoryAsync,
}) =>
AnnotationsAPI._(
getAnnotationCategoriesAsync: getAnnotationCategoriesAsync == null
? null
: _i5.allowInterop(getAnnotationCategoriesAsync),
getAnnotationCategoryByIdAsync: getAnnotationCategoryByIdAsync == null
? null
: _i5.allowInterop(getAnnotationCategoryByIdAsync),
addAnnotationCategoryAsync: addAnnotationCategoryAsync == null
? null
: _i5.allowInterop(addAnnotationCategoryAsync),
);