EkmConnection.fromJson constructor

EkmConnection.fromJson(
  1. Map json_
)

Implementation

EkmConnection.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        cryptoSpacePath: json_.containsKey('cryptoSpacePath')
            ? json_['cryptoSpacePath'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        keyManagementMode: json_.containsKey('keyManagementMode')
            ? json_['keyManagementMode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        serviceResolvers: json_.containsKey('serviceResolvers')
            ? (json_['serviceResolvers'] as core.List)
                .map((value) => ServiceResolver.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );