package Ġcom . et z uk . flutter . flutter her em aps Ċ Ċ import Ġcom . et z uk . flutter . flutter her em aps . map . MapView Factory Ċ import Ġio . flutter . plugin . common . MethodCall Ċ import Ġio . flutter . plugin . common . Method Channel Ċ import Ġio . flutter . plugin . common . Method Channel . MethodCall Handler Ċ import Ġio . flutter . plugin . common . Method Channel . Result Ċ import Ġio . flutter . plugin . common . Plugin Registry . Registrar Ċ Ċ class ĠFlutter Here Maps Plugin : ĠMethod Call Handler Ġ{ ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠ Ġprivate Ġconst Ġval Ġplugin Prefix Ġ= Ġ" fl ugin s . et z uk . flutter _ here _ maps " ĊĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġregister With ( regist rar : ĠRegist rar ) Ġ{ ĊĠĠĠĠĠ Ġval Ġchannel Ġ= ĠMethod Channel ( regist rar . messenger (), Ġ" flutter _ here _ maps ") ĊĠĠĠĠĠ Ġchannel . set MethodCall Handler ( Flutter Here Maps Plugin ()) ĊĠĠĠĠĠ Ġregist rar . platform View Registry () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. register View Factory ("$ plugin Prefix / MapView ", ĠMap View Factory ( regist rar )) ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġon MethodCall ( call : ĠMethod Call , Ġresult : ĠResult ) Ġ{ ĊĠĠĠ Ġif Ġ( call . method Ġ== Ġ" get Platform Version ") Ġ{ ĊĠĠĠĠĠ Ġresult . success (" Android Ġ${ android . os . Build . VERSION . RELEASE }") ĊĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠ Ġresult . not Implemented () ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ