toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalInfo != null) 'additionalInfo': additionalInfo!,
      if (code != null) 'code': code!,
      if (concentration != null) 'concentration': concentration!,
      if (displayName != null) 'displayName': displayName!,
      if (fullName != null) 'fullName': fullName!,
    };