fromMap static method
FlutterAngleTexture
fromMap(
- dynamic map,
- CanvasElement? element,
- int fboId,
- AngleOptions options,
Implementation
static FlutterAngleTexture fromMap(
dynamic map,
CanvasElement? element,
int fboId,
AngleOptions options
) {
return FlutterAngleTexture(
map['textureId']! as int,
map['rbo'] as int? ?? 0,
map['metalAsGLTexture'] as int? ?? 0,
map['surface'] as int? ?? 0,
element,
fboId,
options
);
}