FogExp2.fromJson constructor

FogExp2.fromJson(
  1. Map<String, dynamic> json
)

Implementation

FogExp2.fromJson(Map<String,dynamic> json){
  name = 'FogExp2';
  this.color = Color.fromHex32(json['color'] ?? 0);
  this.density = json['density'] ?? 0.00025;
  isFogExp2 = true;
}