KeyRangeLocation.fromJson constructor

KeyRangeLocation.fromJson(
  1. Map _json
)

Implementation

KeyRangeLocation.fromJson(core.Map _json)
    : this(
        dataDisk: _json.containsKey('dataDisk')
            ? _json['dataDisk'] as core.String
            : null,
        deliveryEndpoint: _json.containsKey('deliveryEndpoint')
            ? _json['deliveryEndpoint'] as core.String
            : null,
        deprecatedPersistentDirectory:
            _json.containsKey('deprecatedPersistentDirectory')
                ? _json['deprecatedPersistentDirectory'] as core.String
                : null,
        end: _json.containsKey('end') ? _json['end'] as core.String : null,
        start:
            _json.containsKey('start') ? _json['start'] as core.String : null,
      );