RectSource.fromJson constructor

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

Implementation

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