disabled method
Returns a copy with type disabled.
Implementation
SystemEventsConfig disabled(SystemEventType type) {
return SystemEventsConfig(
keyboard: type == SystemEventType.keyboard ? null : keyboard,
lifecycle: type == SystemEventType.lifecycle ? null : lifecycle,
network: type == SystemEventType.network ? null : network,
memory: type == SystemEventType.memory ? null : memory,
battery: type == SystemEventType.battery ? null : battery,
orientation: type == SystemEventType.orientation ? null : orientation,
time: type == SystemEventType.time ? null : time,
screen: type == SystemEventType.screen ? null : screen,
screenshot: type == SystemEventType.screenshot ? null : screenshot,
thermal: type == SystemEventType.thermal ? null : thermal,
);
}