SearchChainsResponse.fromJson constructor

SearchChainsResponse.fromJson(
  1. Map json_
)

Implementation

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