TaskScheduledEventDetails.fromJson constructor

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

Implementation

factory TaskScheduledEventDetails.fromJson(Map<String, dynamic> json) {
  return TaskScheduledEventDetails(
    parameters: json['parameters'] as String,
    region: json['region'] as String,
    resource: json['resource'] as String,
    resourceType: json['resourceType'] as String,
    heartbeatInSeconds: json['heartbeatInSeconds'] as int?,
    timeoutInSeconds: json['timeoutInSeconds'] as int?,
  );
}