AccelerationSettings.fromJson constructor

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

Implementation

factory AccelerationSettings.fromJson(Map<String, dynamic> json) {
  return AccelerationSettings(
    mode: (json['mode'] as String).toAccelerationMode(),
  );
}