toJson method

Map<String, dynamic> toJson()

Implementation

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