GetConnectorDefinitionVersionResponse.fromJson constructor

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

Implementation

factory GetConnectorDefinitionVersionResponse.fromJson(
    Map<String, dynamic> json) {
  return GetConnectorDefinitionVersionResponse(
    arn: json['Arn'] as String?,
    creationTimestamp: json['CreationTimestamp'] as String?,
    definition: json['Definition'] != null
        ? ConnectorDefinitionVersion.fromJson(
            json['Definition'] as Map<String, dynamic>)
        : null,
    id: json['Id'] as String?,
    nextToken: json['NextToken'] as String?,
    version: json['Version'] as String?,
  );
}