toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  if (period != null) 'period': period?.wire,
  if (store != null) 'store': store?.wire,
};