toJson method

Map<String, dynamic> toJson()

Implementation

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