Action.fromJson constructor

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

Implementation

factory Action.fromJson(Map<String, dynamic> json) {
  return Action(
    arguments: (json['Arguments'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    crawlerName: json['CrawlerName'] as String?,
    jobName: json['JobName'] as String?,
    notificationProperty: json['NotificationProperty'] != null
        ? NotificationProperty.fromJson(
            json['NotificationProperty'] as Map<String, dynamic>)
        : null,
    securityConfiguration: json['SecurityConfiguration'] as String?,
    timeout: json['Timeout'] as int?,
  );
}