ListCACertificatesResponse.fromJson constructor

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

Implementation

factory ListCACertificatesResponse.fromJson(Map<String, dynamic> json) {
  return ListCACertificatesResponse(
    certificates: (json['certificates'] as List?)
        ?.whereNotNull()
        .map((e) => CACertificate.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextMarker: json['nextMarker'] as String?,
  );
}