AssociateRepositoryResponse.fromJson constructor

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

Implementation

factory AssociateRepositoryResponse.fromJson(Map<String, dynamic> json) {
  return AssociateRepositoryResponse(
    repositoryAssociation: json['RepositoryAssociation'] != null
        ? RepositoryAssociation.fromJson(
            json['RepositoryAssociation'] as Map<String, dynamic>)
        : null,
    tags: (json['Tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}