-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
Description
I need to generate a Map of String, Object. So my definition look like this:
template:
type: object
nullable: true
additionalProperties:
type: object
nullable: trueI was expecting that
@BuiltValueField(wireName: r'template')
BuiltMap<String, JsonObject?>? get template;But got this:
@BuiltValueField(wireName: r'template')
BuiltMap<String, JsonObject>? get template;So of course it crash a runtime when something null is on the map :(
Reactions are currently unavailable