CacheableResult constructor
CacheableResult({
- ResultMetaObject? meta,
- required CacheableResultCacheScope cacheScope,
- required String resultType,
- required int ttlMs,
- Map<
String, Object?> ? extra,
Implementation
CacheableResult({
ResultMetaObject? meta,
required CacheableResultCacheScope cacheScope,
required String resultType,
required int ttlMs,
Map<String, Object?>? extra,
}) : super.build({
...?extra,
if (meta != null) '_meta': $encode(meta),
'cacheScope': $encode(cacheScope),
'resultType': $encode(resultType),
'ttlMs': $encode(ttlMs),
});