toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiVersion != null) 'apiVersion': apiVersion!,
      if (avatarUri != null) 'avatarUri': avatarUri!,
      if (classificationThreshold != null)
        'classificationThreshold': classificationThreshold!,
      if (defaultLanguageCode != null)
        'defaultLanguageCode': defaultLanguageCode!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enableLogging != null) 'enableLogging': enableLogging!,
      if (matchMode != null) 'matchMode': matchMode!,
      if (parent != null) 'parent': parent!,
      if (supportedLanguageCodes != null)
        'supportedLanguageCodes': supportedLanguageCodes!,
      if (tier != null) 'tier': tier!,
      if (timeZone != null) 'timeZone': timeZone!,
    };