SharedSecret constructor

SharedSecret({
  1. String? id,
  2. String? secret,
  3. Timestamp? createdOn,
  4. SharedSecret_State? state,
})

Implementation

factory SharedSecret({
  $core.String? id,
  $core.String? secret,
  $44.Timestamp? createdOn,
  SharedSecret_State? state,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (secret != null) {
    $result.secret = secret;
  }
  if (createdOn != null) {
    $result.createdOn = createdOn;
  }
  if (state != null) {
    $result.state = state;
  }
  return $result;
}