fromMap static method
Gets a possible RendererPriorityPolicy instance from a Map value.
Implementation
static RendererPriorityPolicy? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = RendererPriorityPolicy(
rendererRequestedPriority:
RendererPriority.fromNativeValue(map['rendererRequestedPriority']),
waivedWhenNotVisible: map['waivedWhenNotVisible'],
);
return instance;
}