PillSource.fromJson constructor

PillSource.fromJson(
  1. Map<String, Object?> m
)

Implementation

factory PillSource.fromJson(Map<String, Object?> m) =>
    PillSource((m['w'] as num).toDouble(), (m['h'] as num).toDouble());