RouterStatusResponse.fromJson constructor

RouterStatusResponse.fromJson(
  1. Map json_
)

Implementation

RouterStatusResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        result: json_.containsKey('result')
            ? RouterStatus.fromJson(
                json_['result'] as core.Map<core.String, core.dynamic>)
            : null,
      );