toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (status != null) 'status': status!,
      if (url != null) 'url': url!,
      if (weight != null) 'weight': weight!,
      if (won != null) 'won': won!,
    };