SmartpubChecksConfig.fromJson constructor

SmartpubChecksConfig.fromJson(
  1. Map json
)

Parse from json Map

Implementation

factory SmartpubChecksConfig.fromJson(Map json) {
  return SmartpubChecksConfig(
    unused: json['unused'] as bool? ?? true,
    missing: json['missing'] as bool? ?? true,
    promotions: json['promotions'] as bool? ?? true,
  );
}