DeviceIpBlock.fromJson constructor

DeviceIpBlock.fromJson(
  1. Map _json
)

Implementation

DeviceIpBlock.fromJson(core.Map _json)
    : this(
        addedDate: _json.containsKey('addedDate')
            ? Date.fromJson(
                _json['addedDate'] as core.Map<core.String, core.dynamic>)
            : null,
        block:
            _json.containsKey('block') ? _json['block'] as core.String : null,
        form: _json.containsKey('form') ? _json['form'] as core.String : null,
      );