RoundRectSource.fromJson constructor

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

Implementation

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