Platform constructor

Platform({
  1. required bool isMobile,
  2. bool isOnline = true,
})

Implementation

Platform({required this.isMobile, this.isOnline = true});