ListAccountSettingsResponse.fromJson constructor

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

Implementation

factory ListAccountSettingsResponse.fromJson(Map<String, dynamic> json) {
  return ListAccountSettingsResponse(
    nextToken: json['nextToken'] as String?,
    settings: (json['settings'] as List?)
        ?.whereNotNull()
        .map((e) => Setting.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}