SqsAction.fromJson constructor

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

Implementation

factory SqsAction.fromJson(Map<String, dynamic> json) {
  return SqsAction(
    queueUrl: json['queueUrl'] as String,
    payload: json['payload'] != null
        ? Payload.fromJson(json['payload'] as Map<String, dynamic>)
        : null,
    useBase64: json['useBase64'] as bool?,
  );
}