fromMap static method

SceneLoaded? fromMap(
  1. dynamic json
)

Deserializes SceneLoaded from a map.

Mainly for internal use.

Implementation

static SceneLoaded? fromMap(dynamic json) {
  if (json == null) {
    return null;
  }
  return SceneLoaded(
    name: json['name'],
    buildIndex: json['buildIndex'],
    isLoaded: json['isLoaded'],
    isValid: json['isValid'],
  );
}