TextProvider constructor

TextProvider({
  1. TextProviderType? type,
  2. String? accountId,
  3. String? authToken,
  4. String? from,
})

Implementation

factory TextProvider({
  TextProviderType? type,
  $core.String? accountId,
  $core.String? authToken,
  $core.String? from,
}) {
  final _result = create();
  if (type != null) {
    _result.type = type;
  }
  if (accountId != null) {
    _result.accountId = accountId;
  }
  if (authToken != null) {
    _result.authToken = authToken;
  }
  if (from != null) {
    _result.from = from;
  }
  return _result;
}