style: 名前付き引数を使用するように

This commit is contained in:
usbharu 2023-05-20 18:02:25 +09:00
parent 2ba2b455da
commit 3a58e72e0f
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@ open class Follow : Object {
name: String, name: String,
`object`: String?, `object`: String?,
actor: String? actor: String?
) : super(add(type, "Follow"), name, actor) { ) : super(
type = add(type, "Follow"),
name = name,
actor = actor
) {
this.`object` = `object` this.`object` = `object`
} }
} }