EsamSettings.fromJson constructor

EsamSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EsamSettings.fromJson(Map<String, dynamic> json) {
  return EsamSettings(
    manifestConfirmConditionNotification:
        json['manifestConfirmConditionNotification'] != null
            ? EsamManifestConfirmConditionNotification.fromJson(
                json['manifestConfirmConditionNotification']
                    as Map<String, dynamic>)
            : null,
    responseSignalPreroll: json['responseSignalPreroll'] as int?,
    signalProcessingNotification: json['signalProcessingNotification'] != null
        ? EsamSignalProcessingNotification.fromJson(
            json['signalProcessingNotification'] as Map<String, dynamic>)
        : null,
  );
}