mirrored_repositories/awesome-flutter/examples/flutterfire/packages/cloud_functions/cloud_functions/lib
// Copyright 2019, the Chromium project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

part of cloud_functions;

/// The result of calling a HttpsCallable function.
class HttpsCallableResult<T> {
  HttpsCallableResult._(this._data);

  final T _data;

  /// Returns the data that was returned from the Callable HTTPS trigger.
  T get data {
    return _data;
  }
}
