Friend constructor

Friend({
  1. User? user,
  2. Int32Value? state,
  3. Timestamp? updateTime,
})

Implementation

factory Friend({
  User? user,
  $1.Int32Value? state,
  $0.Timestamp? updateTime,
}) {
  final _result = create();
  if (user != null) {
    _result.user = user;
  }
  if (state != null) {
    _result.state = state;
  }
  if (updateTime != null) {
    _result.updateTime = updateTime;
  }
  return _result;
}