toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (productCodes != null) 'productCodes': productCodes!,
      if (redirectUrl != null) 'redirectUrl': redirectUrl!,
      if (status != null) 'status': status!,
      if (userLocale != null) 'userLocale': userLocale!,
      if (websiteLocale != null) 'websiteLocale': websiteLocale!,
      if (websiteUrl != null) 'websiteUrl': websiteUrl!,
    };