toObject method

dynamic toObject()

Implementation

dynamic toObject() => {
      'notificationId': notificationId,
      'dataType': dataType,
      'payloadSize': payloadSize,
      'callbackUrl': callbackUrl,
      'dateFrom': dateFrom,
      'dateTo': dateTo,
      'submittedAt': submittedAt,
      'collectedAt': collectedAt,
      'sources': sources?.map((item) => item.toObject()).toList(),
    };