toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (externalAccountId != null) 'externalAccountId': externalAccountId!,
if (lfpProvider != null) 'lfpProvider': lfpProvider!,
if (state != null) 'state': state!,
};