DescribeActivationsResult.fromJson constructor

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

Implementation

factory DescribeActivationsResult.fromJson(Map<String, dynamic> json) {
  return DescribeActivationsResult(
    activationList: (json['ActivationList'] as List?)
        ?.whereNotNull()
        .map((e) => Activation.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}