fromMap static method

RenderProcessGoneDetail? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible RenderProcessGoneDetail instance from a Map value.

Implementation

static RenderProcessGoneDetail? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = RenderProcessGoneDetail(
    didCrash: map['didCrash'],
    rendererPriorityAtExit:
        RendererPriority.fromNativeValue(map['rendererPriorityAtExit']),
  );
  return instance;
}