LambdaFunctionScheduledEventDetails.fromJson constructor

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

Implementation

factory LambdaFunctionScheduledEventDetails.fromJson(
    Map<String, dynamic> json) {
  return LambdaFunctionScheduledEventDetails(
    resource: json['resource'] as String,
    input: json['input'] as String?,
    inputDetails: json['inputDetails'] != null
        ? HistoryEventExecutionDataDetails.fromJson(
            json['inputDetails'] as Map<String, dynamic>)
        : null,
    timeoutInSeconds: json['timeoutInSeconds'] as int?,
  );
}