toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dated != null) 'dated': dated!,
      if (major != null) 'major': major!,
      if (minor != null) 'minor': minor!,
      if (patch != null) 'patch': patch!,
    };