MiniProgramCachePolicy constructor
- @JsonSerializable.new(checked: true, explicitToJson: true)
- @MiniProgramCacheRuleConverter() @Default.new(MiniProgramCacheRule()) MiniProgramCacheRule manifest,
- @MiniProgramCacheRuleConverter() @Default.new(MiniProgramCacheRule()) MiniProgramCacheRule entryScreen,
Implementation
@JsonSerializable(checked: true, explicitToJson: true)
const factory MiniProgramCachePolicy({
@MiniProgramCacheRuleConverter()
@Default(MiniProgramCacheRule())
MiniProgramCacheRule manifest,
@MiniProgramCacheRuleConverter()
@Default(MiniProgramCacheRule())
MiniProgramCacheRule entryScreen,
}) = _MiniProgramCachePolicy;