ListAppInstanceUsersResponse.fromJson constructor

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

Implementation

factory ListAppInstanceUsersResponse.fromJson(Map<String, dynamic> json) {
  return ListAppInstanceUsersResponse(
    appInstanceArn: json['AppInstanceArn'] as String?,
    appInstanceUsers: (json['AppInstanceUsers'] as List?)
        ?.whereNotNull()
        .map(
            (e) => AppInstanceUserSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}