fromNative static method

MasstransitTransportContourStyle fromNative(
  1. MasstransitTransportContourStyleNative native
)

Implementation

static MasstransitTransportContourStyle fromNative(
    MasstransitTransportContourStyleNative native) {
  return MasstransitTransportContourStyle(
      mainColor: to_platform.toPlatformFromPointerUint32(native.mainColor),
      mainColorNight:
          to_platform.toPlatformFromPointerUint32(native.mainColorNight));
}