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