toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appName != null) 'appName': appName!,
      if (entries != null) 'entries': entries!,
      if (experimentDescriptions != null)
        'experimentDescriptions': experimentDescriptions!,
      if (personalizationMetadata != null)
        'personalizationMetadata': personalizationMetadata!,
      if (state != null) 'state': state!,
      if (templateVersion != null) 'templateVersion': templateVersion!,
    };