toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final deviceAllowed = this.deviceAllowed;
  final kind = this.kind;
  final maxConcurrentDevices = this.maxConcurrentDevices;
  final message = this.message;
  final nonce = this.nonce;
  final reasonCode = this.reasonCode;
  final restricted = this.restricted;
  final signature = this.signature;
  final source = this.source;
  final timeWindowSeconds = this.timeWindowSeconds;
  final volumeId = this.volumeId;
  return {
    'deviceAllowed': ?deviceAllowed,
    'kind': ?kind,
    'maxConcurrentDevices': ?maxConcurrentDevices,
    'message': ?message,
    'nonce': ?nonce,
    'reasonCode': ?reasonCode,
    'restricted': ?restricted,
    'signature': ?signature,
    'source': ?source,
    'timeWindowSeconds': ?timeWindowSeconds,
    'volumeId': ?volumeId,
  };
}