toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (consentContentScreenshots != null)
        'consentContentScreenshots': consentContentScreenshots!,
      if (consentContentVersion != null)
        'consentContentVersion': consentContentVersion!,
      if (guardianSignature != null) 'guardianSignature': guardianSignature!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (userId != null) 'userId': userId!,
      if (userSignature != null) 'userSignature': userSignature!,
      if (witnessSignature != null) 'witnessSignature': witnessSignature!,
    };