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