DescribeEffectiveInstanceAssociationsResult.fromJson constructor

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

Implementation

factory DescribeEffectiveInstanceAssociationsResult.fromJson(
    Map<String, dynamic> json) {
  return DescribeEffectiveInstanceAssociationsResult(
    associations: (json['Associations'] as List?)
        ?.whereNotNull()
        .map((e) => InstanceAssociation.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}