fromMap static method

FlutterAngleTexture fromMap(
  1. dynamic map,
  2. dynamic element,
  3. int fboId,
  4. AngleOptions options,
)

Implementation

static FlutterAngleTexture fromMap(
  dynamic map,
  dynamic 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,
    map['location'] as int? ?? 0,
    options
  );
}