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