DynamoDBv2Action.fromJson constructor

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

Implementation

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