ClientCertificates.fromJson constructor

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

Implementation

factory ClientCertificates.fromJson(Map<String, dynamic> json) {
  return ClientCertificates(
    items: (json['item'] as List?)
        ?.whereNotNull()
        .map((e) => ClientCertificate.fromJson(e as Map<String, dynamic>))
        .toList(),
    position: json['position'] as String?,
  );
}