core.Map<core.String, core.dynamic> toJson() => { if (dimensionExpression != null) 'dimensionExpression': dimensionExpression!.toJson(), if (name != null) 'name': name!, };