DevResourcesMixin constructor
DevResourcesMixin({})
Implementation
factory DevResourcesMixin({
_i2.Future<_i2.List<_i3.DevResourceWithNodeId>> Function([_i2.dynamic])?
getDevResourcesAsync,
_i2.Future<void> Function(
_i2.String, [
_i2.String?,
])? addDevResourceAsync,
_i2.Future<void> Function(
_i2.String,
_i2.dynamic,
)? editDevResourceAsync,
_i2.Future<void> Function(_i2.String)? deleteDevResourceAsync,
_i2.Future<void> Function(
_i2.String,
_i3.PlainTextElement,
)? setDevResourcePreviewAsync,
}) =>
DevResourcesMixin._(
getDevResourcesAsync: getDevResourcesAsync == null
? null
: _i5.allowInterop(getDevResourcesAsync),
addDevResourceAsync: addDevResourceAsync == null
? null
: _i5.allowInterop(addDevResourceAsync),
editDevResourceAsync: editDevResourceAsync == null
? null
: _i5.allowInterop(editDevResourceAsync),
deleteDevResourceAsync: deleteDevResourceAsync == null
? null
: _i5.allowInterop(deleteDevResourceAsync),
setDevResourcePreviewAsync: setDevResourcePreviewAsync == null
? null
: _i5.allowInterop(setDevResourcePreviewAsync),
);