getSource method

Returns the source of the value.

Implementation

RemoteConfigValueSource getSource() {
  switch (jsObject.getSource()) {
    case 'static':
      return RemoteConfigValueSource.static;
    case 'default':
      return RemoteConfigValueSource.defaults;
    case 'remote':
      return RemoteConfigValueSource.remote;
    default:
      throw UnimplementedError(jsObject.getSource());
  }
}