toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analyticsLabel != null) 'analyticsLabel': analyticsLabel!,
      if (appId != null) 'appId': appId!,
      if (data != null) 'data': data!.toJson(),
      if (date != null) 'date': date!.toJson(),
    };