toJson method

Map<String, dynamic> toJson()

Implementation

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