ScheduleLambdaFunctionFailedEventAttributes.fromJson constructor

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

Implementation

factory ScheduleLambdaFunctionFailedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return ScheduleLambdaFunctionFailedEventAttributes(
    cause: (json['cause'] as String).toScheduleLambdaFunctionFailedCause(),
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
    id: json['id'] as String,
    name: json['name'] as String,
  );
}