SchedulerEventInfo.fromJson constructor

SchedulerEventInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

SchedulerEventInfo.fromJson(Map<String, dynamic> json)
    : tenantId = TenantId.fromJson(json['tenantId']),
      customerId = json['customerId'] != null
          ? CustomerId.fromJson(json['customerId'])
          : null,
      originatorId = json['originatorId'] != null
          ? EntityId.fromJson(json['originatorId'])
          : null,
      name = json['name'],
      type = json['type'],
      schedule = SchedulerEventSchedule.fromJson(json['schedule']),
      super.fromJson(json);