NavigationBearings.fromJson constructor

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

Implementation

NavigationBearings.fromJson(Map<String, dynamic> json) {
  angle = (json['angle'] as num?)?.toDouble();
  degree = (json['degree'] as num?)?.toDouble();
}