Percent.fromMap constructor

Percent.fromMap(
  1. Map<String, dynamic>? json
)

Implementation

factory Percent.fromMap(Map<String, dynamic>? json) {
  if (json == null) return const Percent.init();
  return Percent._(
    fmu: _toInt(json['fmu']),
    precision: _toInt(json['precision']),
  );
}