toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (budgetAmountMicros != null)
        'budgetAmountMicros': budgetAmountMicros!,
      if (budgetId != null) 'budgetId': budgetId!,
      if (budgetUnit != null) 'budgetUnit': budgetUnit!,
      if (dateRange != null) 'dateRange': dateRange!,
      if (displayName != null) 'displayName': displayName!,
      if (externalBudgetId != null) 'externalBudgetId': externalBudgetId!,
      if (externalBudgetSource != null)
        'externalBudgetSource': externalBudgetSource!,
      if (invoiceGroupingId != null) 'invoiceGroupingId': invoiceGroupingId!,
      if (prismaConfig != null) 'prismaConfig': prismaConfig!,
    };