CornerRadius.fromMap constructor

CornerRadius.fromMap(
  1. Map<String, dynamic> map
)

Implementation

CornerRadius.fromMap(Map<String, dynamic> map) {
  radius = (map['radius'] as num?)?.toDouble();
  bottomLeft = (map['bottomLeft'] as num?)?.toDouble();
  bottomRight = (map['bottomRight'] as num?)?.toDouble();
  topLeft = (map['topLeft'] as num?)?.toDouble();
  topRight = (map['topRight'] as num?)?.toDouble();
}