DescribeCodeRepositoryOutput.fromJson constructor

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

Implementation

factory DescribeCodeRepositoryOutput.fromJson(Map<String, dynamic> json) {
  return DescribeCodeRepositoryOutput(
    codeRepositoryArn: json['CodeRepositoryArn'] as String,
    codeRepositoryName: json['CodeRepositoryName'] as String,
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    lastModifiedTime:
        nonNullableTimeStampFromJson(json['LastModifiedTime'] as Object),
    gitConfig: json['GitConfig'] != null
        ? GitConfig.fromJson(json['GitConfig'] as Map<String, dynamic>)
        : null,
  );
}