Lags.fromJson constructor

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

Implementation

factory Lags.fromJson(Map<String, dynamic> json) {
  return Lags(
    lags: (json['lags'] as List?)
        ?.whereNotNull()
        .map((e) => Lag.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}