Provider constructor

Provider({
  1. String? id,
  2. ObjectDetails? details,
  3. IDPState? state,
  4. String? name,
  5. IDPOwnerType? owner,
  6. ProviderType? type,
  7. ProviderConfig? config,
})

Implementation

factory Provider({
  $core.String? id,
  $7.ObjectDetails? details,
  IDPState? state,
  $core.String? name,
  IDPOwnerType? owner,
  ProviderType? type,
  ProviderConfig? config,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (details != null) {
    _result.details = details;
  }
  if (state != null) {
    _result.state = state;
  }
  if (name != null) {
    _result.name = name;
  }
  if (owner != null) {
    _result.owner = owner;
  }
  if (type != null) {
    _result.type = type;
  }
  if (config != null) {
    _result.config = config;
  }
  return _result;
}