ConfigProto constructor

ConfigProto({
  1. int? id,
  2. String? uid,
  3. String? config,
  4. Timestamp? createdDate,
  5. Timestamp? updatedDate,
  6. Timestamp? pushedDate,
  7. Timestamp? installedDate,
  8. Iterable<String>? fromCrcs,
})

Implementation

factory ConfigProto({
  $core.int? id,
  $core.String? uid,
  $core.String? config,
  $1.Timestamp? createdDate,
  $1.Timestamp? updatedDate,
  $1.Timestamp? pushedDate,
  $1.Timestamp? installedDate,
  $core.Iterable<$core.String>? fromCrcs,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (uid != null) result.uid = uid;
  if (config != null) result.config = config;
  if (createdDate != null) result.createdDate = createdDate;
  if (updatedDate != null) result.updatedDate = updatedDate;
  if (pushedDate != null) result.pushedDate = pushedDate;
  if (installedDate != null) result.installedDate = installedDate;
  if (fromCrcs != null) result.fromCrcs.addAll(fromCrcs);
  return result;
}