NetworkConfig.fromJson constructor

NetworkConfig.fromJson(
  1. Map json_
)

Implementation

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