toJson method

Map<String, dynamic> toJson()

Implementation

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