AutoRollbackConfiguration.fromJson constructor
Implementation
factory AutoRollbackConfiguration.fromJson(Map<String, dynamic> json) {
return AutoRollbackConfiguration(
enabled: json['enabled'] as bool?,
events: (json['events'] as List?)
?.whereNotNull()
.map((e) => (e as String).toAutoRollbackEvent())
.toList(),
);
}