toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cardinalityConstraint != null)
        'cardinalityConstraint': cardinalityConstraint!,
      if (conflictingLinksResolutionPolicy != null)
        'conflictingLinksResolutionPolicy': conflictingLinksResolutionPolicy!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (persona != null) 'persona': persona!,
      if (sessionId != null) 'sessionId': sessionId!,
      if (token != null) 'token': token!,
      if (ttl != null) 'ttl': ttl!,
    };