ListKeysResponse.fromJson constructor

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

Implementation

factory ListKeysResponse.fromJson(Map<String, dynamic> json) {
  return ListKeysResponse(
    keys: (json['Keys'] as List?)
        ?.whereNotNull()
        .map((e) => KeyListEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextMarker: json['NextMarker'] as String?,
    truncated: json['Truncated'] as bool?,
  );
}