context2D property

CanvasRenderingContext2D get context2D

Implementation

CanvasRenderingContext2D get context2D =>
    getContext('2d') as CanvasRenderingContext2D;