DynamodbDataSourceConfig.fromJson constructor

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

Implementation

factory DynamodbDataSourceConfig.fromJson(Map<String, dynamic> json) {
  return DynamodbDataSourceConfig(
    awsRegion: json['awsRegion'] as String,
    tableName: json['tableName'] as String,
    deltaSyncConfig: json['deltaSyncConfig'] != null
        ? DeltaSyncConfig.fromJson(
            json['deltaSyncConfig'] as Map<String, dynamic>)
        : null,
    useCallerCredentials: json['useCallerCredentials'] as bool?,
    versioned: json['versioned'] as bool?,
  );
}