toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activeStartTime != null) 'activeStartTime': activeStartTime!,
      if (androidDevice != null) 'androidDevice': androidDevice!,
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (inactivityTimeout != null) 'inactivityTimeout': inactivityTimeout!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (stateHistories != null) 'stateHistories': stateHistories!,
      if (ttl != null) 'ttl': ttl!,
    };