Skip to content

Commit

Permalink
fix(kotlin): fix with latest AS (#715)
Browse files Browse the repository at this point in the history
* docs: address appium-flutter-integration-driver

* teak

* fix(kotlin): fix with latest AS
  • Loading branch information
KazuCocoa authored Jul 14, 2024
1 parent 6d3455a commit 2290551
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ package pro.truongsinh.appium_flutter.finder

import org.openqa.selenium.remote.RemoteWebElement

public class FlutterElement : RemoteWebElement {
private var _rawMap: Map<String, *>
constructor(m: Map<String, *>) {
_rawMap = m
public class FlutterElement(m: Map<String, *>) : RemoteWebElement() {
private var _rawMap: Map<String, *> = m

init {
id = serialize(m)
}
fun getRawMap(): Map<String, *> { return _rawMap }

override fun toString(): String {
return String.format("[FlutterElement]")
}
}

0 comments on commit 2290551

Please sign in to comment.