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