RepositoryAssociationSummary.fromJson constructor
RepositoryAssociationSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RepositoryAssociationSummary.fromJson(Map<String, dynamic> json) {
return RepositoryAssociationSummary(
associationArn: json['AssociationArn'] as String?,
associationId: json['AssociationId'] as String?,
connectionArn: json['ConnectionArn'] as String?,
lastUpdatedTimeStamp: timeStampFromJson(json['LastUpdatedTimeStamp']),
name: json['Name'] as String?,
owner: json['Owner'] as String?,
providerType: (json['ProviderType'] as String?)?.toProviderType(),
state: (json['State'] as String?)?.toRepositoryAssociationState(),
);
}