Location constructor
Represents the information about the location of an element within a document or image.
Implementation
Location(Map<String, dynamic> nativeLocation) {
latin =
nativeLocation['latin'] != null
? Rectangle(Map<String, dynamic>.from(nativeLocation['latin']))
: null;
arabic =
nativeLocation['arabic'] != null
? Rectangle(Map<String, dynamic>.from(nativeLocation['arabic']))
: null;
cyrillic =
nativeLocation['cyrillic'] != null
? Rectangle(Map<String, dynamic>.from(nativeLocation['cyrillic']))
: null;
greek =
nativeLocation['greek'] != null
? Rectangle(Map<String, dynamic>.from(nativeLocation['greek']))
: null;
}