AddressesScopedList.fromJson constructor

AddressesScopedList.fromJson(
  1. Map json_
)

Implementation

AddressesScopedList.fromJson(core.Map json_)
    : this(
        addresses: json_.containsKey('addresses')
            ? (json_['addresses'] as core.List)
                .map((value) => Address.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? AddressesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );