toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (explicitBuckets != null) 'explicitBuckets': explicitBuckets!,
      if (exponentialBuckets != null)
        'exponentialBuckets': exponentialBuckets!,
      if (linearBuckets != null) 'linearBuckets': linearBuckets!,
    };