Input$NotificationIntegrationInput.fromJson constructor

Input$NotificationIntegrationInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$NotificationIntegrationInput.fromJson(
    Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('web')) {
    final l$web = data['web'];
    result$data['web'] = l$web == null
        ? null
        : Input$NotificationIntegrationPlatformInput.fromJson(
            (l$web as Map<String, dynamic>));
  }
  if (data.containsKey('mobile')) {
    final l$mobile = data['mobile'];
    result$data['mobile'] = l$mobile == null
        ? null
        : Input$NotificationIntegrationPlatformInput.fromJson(
            (l$mobile as Map<String, dynamic>));
  }
  if (data.containsKey('target')) {
    final l$target = data['target'];
    result$data['target'] = l$target == null
        ? null
        : Input$TargetACIInput.fromJson((l$target as Map<String, dynamic>));
  }
  return Input$NotificationIntegrationInput._(result$data);
}