ActivityLogProto constructor

ActivityLogProto({
  1. Int64? id,
  2. Timestamp? date,
  3. Int64? adminId,
  4. String? adminName,
  5. String? text,
  6. ActivityLogProto_ActivityType? type,
})

Implementation

factory ActivityLogProto({
  $fixnum.Int64? id,
  $27.Timestamp? date,
  $fixnum.Int64? adminId,
  $core.String? adminName,
  $core.String? text,
  ActivityLogProto_ActivityType? type,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (date != null) {
    $result.date = date;
  }
  if (adminId != null) {
    $result.adminId = adminId;
  }
  if (adminName != null) {
    $result.adminName = adminName;
  }
  if (text != null) {
    $result.text = text;
  }
  if (type != null) {
    $result.type = type;
  }
  return $result;
}