BatchGetAssetsHistoryResponse.fromJson constructor

BatchGetAssetsHistoryResponse.fromJson(
  1. Map json_
)

Implementation

BatchGetAssetsHistoryResponse.fromJson(core.Map json_)
    : this(
        assets: json_.containsKey('assets')
            ? (json_['assets'] as core.List)
                .map((value) => TemporalAsset.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );