toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (allowPartial != null) 'allowPartial': allowPartial,
      'data': data,
      'memoryReference': memoryReference,
      if (offset != null) 'offset': offset,
    };