EmailProvider constructor

EmailProvider({
  1. EmailProviderType? type,
  2. String? publicKey,
  3. String? privateKey,
  4. String? from,
})

Implementation

factory EmailProvider({
  EmailProviderType? type,
  $core.String? publicKey,
  $core.String? privateKey,
  $core.String? from,
}) {
  final _result = create();
  if (type != null) {
    _result.type = type;
  }
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (from != null) {
    _result.from = from;
  }
  return _result;
}